﻿NExt.validator.Composite = function(value, validators) {
    for (i = 0; i < validators.length; i++) {
        var validationResult = validators[i](value);
        if (validationResult !== true) {
            return validationResult;
        }
    }

    return true;
}
